#ifndef NEOCOMBOBOXSTYLE_H
#define NEOCOMBOBOXSTYLE_H

#include <QProxyStyle>

class NeoComboBoxStyle : public QProxyStyle
{
public:
    NeoComboBoxStyle(QStyle *style = nullptr);
    NeoComboBoxStyle(const QString &key);
    ~NeoComboBoxStyle();

    void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = nullptr) const override;
    void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = nullptr) const override;
    void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget = nullptr) const override;
    QRect subControlRect(ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const override;
    QSize sizeFromContents(ContentsType type, const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const override;
};

#endif